﻿@{
    ViewBag.Title = "User Note";
    this.Layout = null;
}
@using GBFinance.Web.Models
@model EnterpriseExtEntity
<div id="formContainer">
@using (Html.BeginForm())
{ 
    <textarea cols="20" rows="10" name="note">@Model.Note</textarea>
    <input  type="hidden" name="enterpriseID" value="@Model.EnterpriseGuid"/>
    <input type="button" id="submitButton" value="Save" />
}
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $("#submitButton").click(function () {
            submitAndRedirect("#formContainer form", '@Url.Action("SecuredLoanList")');
        });
    });
</script>

